package cn.alm.serviceorder.feign.fallback;

import cn.alm.serviceorder.dto.WeatherDto;
import cn.alm.serviceorder.feign.WeatherFeignClient;
import org.springframework.stereotype.Component;

@Component
public class WeatheFeignClientFallback implements WeatherFeignClient {
    @Override
    public String getWeather(WeatherDto weatherDto, String token) {
        return "fallback for get weather";
    }

    @Override
    public String testLowRequest() {
        return "fallback for test low request";
    }

    @Override
    public String reqEx() {
        return "fallback for weather req ex";
    }
}
